import { Control as BaseControl } from './base'
import { ZoomControlOptions, ZoomControl } from './zoom'
import { ScaleControlOptions, ScaleControl } from './scale'
import { CopyrightControlOptions, CopyrightControl } from './copyright'
import { OverviewMapControlOptions, OverviewMapControl } from './overviewMap'
import { MapTypeControlOptions, MapTypeControl } from './mapTypeControl'

export type Control = BaseControl

export namespace Control {
    export type ZoomOptions = ZoomControlOptions;
    export type Zoom = ZoomControl;

    export type ScaleOptions = ScaleControlOptions;
    export type Scale = ScaleControl;

    export type CopyrightOptions = CopyrightControlOptions;
    export type Copyright = CopyrightControl;

    export type OverviewMapOptions = OverviewMapControlOptions;
    export type OverviewMap = OverviewMapControl;

    export type MapTypeOptions = MapTypeControlOptions;
    export type MapType = MapTypeControl;
}
